<%@ page language="java" contentType="text/html; charset=utf-8"	pageEncoding="utf-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<%@include file="/common/common_header.jsp"%>
  	<link href="${ctx}/static/css/base.css" rel="stylesheet" type="text/css" />
    <link href="${ctx}/static/css/default.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="${ctx}/static/js/default.js"></script>
</head>
<body class="easyui-layout">
    <div data-options="region:'north'" style="height:60px;" class="header">
        <div class="logo"><span>启奥电子商务管理平台</span></div>
        <ul class="managerInfo">
            <li><span>登录用户：</span><span id="OperName">${current_user}</span></li>
            <li><span>所属部门：</span><span id="DepartName">${user_department}</span></li>
        </ul>
        <div style=" position:absolute; right:0px; bottom:0px;">
            <a href="javascript:void(0)" id="mb" class="easyui-menubutton"   data-options="menu:'#mm',iconCls:'cog'" style="color:#b1aeae">控制面板</a>
        </div>
        <div id="mm" style="width:100px;">
            <div id="modifyPwd">修改密码</div>
            <div class="menu-sep"></div>
            <div id="logout">退出系统</div>
        </div>
    </div>
    <!-- 
    <div data-options="region:'south'" style="height:30px;">
        <div class="panel-header panel-title" style="text-align:center">版权所有@唐山启奥科技股份有限公司</div>
    </div>
     -->
    <div data-options="region:'west',title:'功能导航',split:true" style="width:160px;">
        <div id="aa" class="easyui-accordion" data-options="fit:true">
        <div title="入库管理" data-options="iconCls:'image_link'" style="overflow:auto;">
            <ul>
            <!-- 
                <li class="systemFunLi" url="DeviceManage/PurchasePlan/PurchasePlan.aspx" alt="设备采购计划"><span>设备采购计划</span></li>
                 -->
                 <c:forEach items="${menu_instock}" var="menu_map">
                	<li class="systemFunLi" url="${ctx}${menu_map.sys_res_url}" alt="${menu_map.sys_res_name}"><span>${menu_map.sys_res_name}</span></li> 
                 </c:forEach>
            </ul>
        </div>
        <div title="出库管理" data-options="iconCls:'icon-reload'" style="overflow:auto;">
            <ul>
                 <c:forEach items="${menu_outstock}" var="menu_map">
                	<li class="systemFunLi" url="${ctx}${menu_map.sys_res_url}" alt="${menu_map.sys_res_name}"><span>${menu_map.sys_res_name}</span></li> 
                 </c:forEach>
            </ul>
        </div>
        <div title="库存管理" data-options="iconCls:'cog_go'" style="overflow:auto;">
            <ul>
                 <c:forEach items="${menu_stock}" var="menu_map">
                	<li class="systemFunLi" url="${ctx}${menu_map.sys_res_url}" alt="${menu_map.sys_res_name}"><span>${menu_map.sys_res_name}</span></li> 
                 </c:forEach>
            </ul>
        </div>
        <div title="订单管理" data-options="iconCls:'user_go'" style="overflow:auto;">
            <ul>
                 <c:forEach items="${menu_order}" var="menu_map">
                	<li class="systemFunLi" url="${ctx}${menu_map.sys_res_url}" alt="${menu_map.sys_res_name}"><span>${menu_map.sys_res_name}</span></li> 
                 </c:forEach>
            </ul>
        </div>
        
        <div title="系统管理" data-options="iconCls:'user_go'" style="overflow:auto;">
            <ul>
                 <c:forEach items="${menu_system}" var="menu_map">
                	<li class="systemFunLi" url="${ctx}${menu_map.sys_res_url}" alt="${menu_map.sys_res_name}"><span>${menu_map.sys_res_name}</span></li> 
                 </c:forEach>
            </ul>
        </div>
        
    </div>
    </div>
    <div data-options="region:'center'">
        <div id="index_tabs" class="easyui-tabs" data-options="fit:true">
            <div title="首页">
                <iframe src="${ctx}/static/html/about.html" frameborder="0" style="width:100%;height:100%">
                </iframe>
            </div>           
        </div>
    </div>
    <!--修改密码的弹出框-->
    <div id="dlg" class="easyui-dialog" title="修改密码" style="width:300px;height:190px;padding:10px">
        <form id="ff" method="post">
          <ul class="search">
            <li>
                <input type="hidden" id="Data_OperId" />
                <label>原密码：<input id="Data_OldPwd" name="Data_OldPwd" type="password" class="easyui-validatebox txtSty" data-options="required:true"/></label>
            </li>
            <li>
                <label>新密码：<input id="Data_NewPwd" name="Data_NewPwd" type="password" class="easyui-validatebox txtSty" data-options="required:true"/></label>
            </li>
            <li>
                <label>确认密码：<input id="Data_RPwd" name="Data_RPwd" type="password" class="easyui-validatebox txtSty" /></label>
            </li>            
          </ul>
        </form>
    </div>
</body>
</html>
